/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uk.co.droidinactu.inlibrislibertas.db;

import uk.co.droidinactu.common.db.AbstractDatabaseHelper;
import uk.co.droidinactu.common.db.AbstractDatabaseHelperFactory;
import uk.co.droidinactu.common.db.AbstractDbConstants;

/**
 * 
 * @author andy
 */
public class DatabaseHelperFactory extends AbstractDatabaseHelperFactory {

	private final boolean createSampleDataOnStartup = false;

	public DatabaseHelperFactory() {
	}

	@Override
	public AbstractDatabaseHelper getDatabaseHelper(final android.content.Context cntxt,
			final AbstractDbConstants dbConstants) {
		return new DatabaseHelper(cntxt, dbConstants, this.createSampleDataOnStartup);
	}
}
